home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / shells / scsh-0.4 / scsh-0 / scsh-0.4.2 / scsh / bsd / packages.scm < prev    next >
Text File  |  1995-11-04  |  3KB  |  139 lines

  1. ;;; Interfaces and packages for the BSD4.4-Lite specific parts of scsh.
  2. ;;; Copyright (c) 1994 by Olin Shivers.
  3. ;;; Copyright (c) 1994 by Brian D. Carlstrom.
  4.  
  5. (define-interface bsd44lite-fdflags-extras-interface
  6.   (export open/shlock
  7.       open/exlock
  8.       open/async
  9.       open/fsync
  10.       fcntl/get-owner
  11.       fcntl/set-owner))
  12.  
  13. (define-interface bsd44lite-errno-extras-interface
  14.   (export errno/deadlk
  15.       errno/notblk      
  16.       errno/txtbsy
  17.       errno/wouldblock
  18.       errno/inprogress
  19.       errno/already
  20.       errno/notsock
  21.       errno/destaddrreq
  22.       errno/msgsize
  23.       errno/prototype
  24.       errno/noprotoopt
  25.       errno/protonosupport
  26.       errno/socktnosupport
  27.       errno/opnotsupp
  28.       errno/pfnosupport
  29.       errno/afnosupport
  30.       errno/addrinuse
  31.       errno/addrnotavail
  32.       errno/netdown
  33.       errno/netunreach
  34.       errno/netreset
  35.       errno/connaborted
  36.       errno/connreset
  37.       errno/nobufs
  38.       errno/isconn
  39.       errno/notconn
  40.       errno/shutdown
  41.       errno/toomanyrefs
  42.       errno/timedout
  43.       errno/connrefused
  44.       errno/loop
  45.       errno/hostdown
  46.       errno/hostunreach
  47.       errno/proclim
  48.       errno/users
  49.       errno/dquot
  50.       errno/stale
  51.       errno/remote
  52.       errno/badrpc
  53.       errno/rpcmismatch
  54.       errno/progunavail
  55.       errno/progmismatch
  56.       errno/nolck
  57.       errno/ftype 
  58.       errno/auth
  59.       errno/needauth
  60.       errno/last))
  61.  
  62. (define-interface bsd44lite-signals-extras-interface
  63.   (export signal/trap
  64.       signal/emt
  65.       signal/bus
  66.       signal/sys
  67.       signal/urg
  68.       signal/cld
  69.       signal/io
  70.       signal/xcpu
  71.       signal/xfsz
  72.       signal/vtalrm
  73.       signal/prof
  74.       signal/winch
  75.       signal/info))
  76.  
  77. (define-interface bsd44lite-network-extras-interface
  78.   (export socket/debug
  79.       socket/accept-connect
  80.       socket/reuse-address
  81.       socket/keep-alive
  82.       socket/dont-route
  83.       socket/broadcast
  84.       socket/use-loop-back
  85.       socket/linger
  86.       socket/oob-inline
  87.       socket/reuse-port        ;bsd44lite
  88. ;      socket/use-privileged
  89. ;      socket/cant-signal
  90.       socket/send-buffer
  91.       socket/receive-buffer
  92.       socket/send-low-water
  93.       socket/receive-low-water
  94.       socket/send-timeout
  95.       socket/receive-timeout
  96.       socket/error
  97.       socket/type
  98. ;;; all ip/* but ip/options and ip/time-to-live bsd44lite only
  99.       ip/options
  100.       ip/header-included
  101.       ip/type-of-service
  102.       ip/time-to-live        
  103.       ip/receive-options    
  104.       ip/response-options    
  105.       ip/destination-address    
  106.       ip/ret-options        
  107.       ip/multicast-if        
  108.       ip/multicast-ttl    
  109.       ip/multicast-loop    
  110.       ip/add-membership    
  111.       ip/drop-membership    
  112.       tcp/no-delay
  113.       tcp/max-segment
  114.       message/eor
  115.       message/trunc
  116.       message/ctrunc
  117.       message/wait-all
  118.       message/dont-wait))
  119.  
  120. (define-interface bsd44lite-extras-interface
  121.   (compound-interface bsd44lite-errno-extras-interface
  122.               bsd44lite-fdflags-extras-interface
  123.               bsd44lite-network-extras-interface
  124.               bsd44lite-signals-extras-interface))
  125.  
  126. (define-interface bsd44lite-defs-interface
  127.   (compound-interface bsd44lite-extras-interface
  128.               sockets-network-interface
  129.               posix-errno-interface
  130.               posix-fdflags-interface
  131.               posix-signals-interface))
  132.  
  133. (define-structure bsd44lite-defs bsd44lite-defs-interface
  134.   (open scheme bitwise defenum-package)
  135.   (files fdflags errno signals netconst))
  136.  
  137. (define-interface os-extras-interface bsd44lite-extras-interface)
  138. (define os-dependent bsd44lite-defs)
  139.